package com.wuchengdong.web.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
@TableName("service")
@ApiModel("服务项目表")
public class Service {
    @TableId
    @ApiModelProperty("服务项目ID")
    private Integer id;

    @ApiModelProperty("服务项目名称")
    private String name;

    @ApiModelProperty("服务内容介绍")
    private String description;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("服务时长")
    private Integer duration;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty("图片地址")
    private String img;
}
